Average Case Analysis of Fully Dynamic Reachability for Directed Graphs
نویسندگان
چکیده
We consider the problem of maintaining the transitive closure in a directed graph under edge insertions and deletions from the point of view of average case analysis. Say n the number of nodes and m the number of edges. We present a data structure that supports the report of a path between two nodes in O(nlog n) expected time and O(1) amortized time per update, and reachability queries in O(1) expected time and O(n log n) expected amortized time per update. If m > n 4=3 then reachability queries can be performed in O(1) expected time and O(log 3 n) expected amortized time per update. These bounds compares favorably with the best bounds known using worst case analysis. Furthermore we consider an intermediate model between worst case analysis and average case analysis: the semi-random adversary introduced in 3].
منابع مشابه
Universit a Degli Studi Di Roma \la Sapienza" Fully Dynamic Algorithms for Path Problems on Directed Graphs Fully Dynamic Algorithms for Path Problems on Directed Graphs
In this thesis we investigate fully dynamic algorithms for path problems on directed graphs. In particular, we focus on two of the most fundamental path problems: fully dynamic transitive closure and fully dynamic single-source shortest paths. The rst part of the thesis presents a new technique which makes it possible to reduce fully dynamic transitive closure to the problem of reevaluating pol...
متن کاملImproved Dynamic Reachability Algorithms for Directed Graphs
We obtain several new dynamic algorithms for maintaining the transitive closure of a directed graph and several other algorithms for answering reachability queries without explicitly maintaining a transitive closure matrix. Among our algorithms are: (i) A decremental algorithm for maintaining the transitive closure of a directed graph, through an arbitrary sequence of edge deletions, in O(mn) t...
متن کاملA Fully Dynamic Algorithm for Maintaining theTransitive
This paper presents an eecient fully dynamic graph algorithm for maintaining the transitive closure of a directed graph. The algorithm updates the adjacency matrix of the transitive closure with each update to the graph. Hence, each reachability query of the form \Is there a directed path from i to j?" can be answered in O(1) time. The algorithm is randomized; it is correct when answering yes, ...
متن کاملImproved Fully Dynamic Reachability Algorithm for Directed Graph
We propose a fully dynamic algorithm for maintaining reachability information in directed graphs. The proposed deterministic dynamic algorithm has an update time of O((ins ∗ n) + (del ∗ (m + n ∗ log(n)))) where m is the current number of edges, n is the number of vertices in the graph, ins is the number of edge insertions and del is the number of edge deletions. Each query can be answered in O(...
متن کاملReachability on suffix tree graphs
We analyze the complexity of graph reachability queries on ST-graphs, defined as directed acyclic graphs (DAGs) obtained by merging the suffix tree of a given string and its suffix links. Using a simplified reachability labeling algorithm presented by Agrawal et al. (1989), we show that for a random string of length n, its ST-graph can be preprocessed in O(n log n) expected time and space to an...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- ITA
دوره 30 شماره
صفحات -
تاریخ انتشار 1996